package com.jwsoft.manager.core.integration;

import com.bifang.module.base.common.vo.excel.ExcelReadVO;
import com.bifang.module.base.common.vo.excel.ExcelVO;
import com.github.pagehelper.PageInfo;
import com.jwsoft.manager.common.vo.eduStudentEnrollWhite.EduStudentEnrollWhiteVO;
import com.jwsoft.manager.common.vo.eduStudentEnrollWhite.EduStudentEnrollWhiteKeyVO;
import com.jwsoft.manager.common.vo.eduStudentEnrollWhite.EduStudentEnrollWhiteQueryVO;
import com.jwsoft.manager.common.vo.eduStudentEnrollWhite.WhiteExcelSaveVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * 报名白名单管理业务本地接口
 *
 * @author chenzh
 * @since 2024-05-18
 */
public interface EduStudentEnrollWhiteIntegration {
    /** 分页查询 */
    PageInfo<EduStudentEnrollWhiteVO> getList(EduStudentEnrollWhiteQueryVO vo);
    /** 根据主键查询详情 */
    EduStudentEnrollWhiteVO getById(EduStudentEnrollWhiteKeyVO vo);
    /** 保存前统一校验*/
    void checkSave(EduStudentEnrollWhiteVO vo);
    /** 新增 */
    EduStudentEnrollWhiteVO add(EduStudentEnrollWhiteVO vo);
    /** 修改 */
    EduStudentEnrollWhiteVO edit(EduStudentEnrollWhiteVO vo);
    /** 根据主键删除 */
    void del(EduStudentEnrollWhiteKeyVO vo);

    Boolean checkExist(EduStudentEnrollWhiteVO vo);

    void downloadModel(ExcelVO vo, HttpServletResponse response);
    ExcelReadVO readExcel(ExcelVO vo, MultipartFile file);
    void addExcel(WhiteExcelSaveVO vo);
}
